﻿@model BrnMall.Web.StoreAdmin.Models.AdressBookModel
@section header{
    <title>通讯录管理-微街推</title>
    <link type="text/css" rel="stylesheet" href="/admin_store/css/site.css" />
    <link type="text/css" href="/components/jbox/Skins/Default/jbox.css" rel="stylesheet" />
    <script type="text/javascript" src="/admin_store/scripts/jquery.js"></script>
    <script type="text/javascript" src="/admin_store/scripts/showlist.js"></script>
    <script type="text/javascript" src="/components/jbox/jquery.jBox-2.3.min.js"></script>
}
@section body{
    <h1 class="rightH1">
        微信小程序 &gt; 留言管理 &gt; <span class="rightH1-cur">通讯录管理</span>
        <div class="right">
            <div class="clear"></div>
        </div>
        <div class="clear"></div>
    </h1>
    <div class="table_top"></div>
    <div class="dataList">
        <table width="100%">
            <thead>
                <tr>
                    <th width="5%">编号</th>
                    <th width="30%">留言标题</th>
                    <th width="30%">商家回复</th>
                    <th width="15%" align="center">留言时间</th>
                    <th width="5%">状态</th>
                    <th width="15%" align="center">管理操作</th>
                </tr>
            </thead>
            <tbody>
                @foreach (var info in Model.StaffList)
                {
                    <tr>
                        <td></td>
                        <td><a ></a></td>
                        <td>
                          
                        </td>
                        <td align="center">td>
                        <td>
                           
                        </td>
                        <td align="center">
                        
                        </td>
                    </tr>
                }
            </tbody>
        </table>
    </div>
    <div class="table_bottom"></div>
    <script>
        $(function () {
            $(".del").click(function () { deleteMessage($(this).attr("data-msgid"))})
        })

        function deleteMessage(msgid) {
            $.jBox.confirm("您确定删除吗？", "提示", function (v, h, f) {
                if (v == "ok") {
                    var url = "@Url.Action("DeleteMessage")?msgid=" + msgid;
                    window.location.href = url;
                }
            });
        }

    </script>
}
